import Vue from "vue";
import { Search, Swipe, SwipeItem, Grid, GridItem, Icon, Tag, List, Cell, DropdownMenu, DropdownItem, Empty, Toast, Tabbar, TabbarItem, Col, Row, Popup, Form, field, button,Dialog ,Divider,GoodsAction, GoodsActionIcon, GoodsActionButton,Sku,Checkbox, CheckboxGroup,Card,SubmitBar,Stepper,SwipeCell,Lazyload,Pagination,Sidebar, SidebarItem,Tab,Tabs } from "vant";

// import 'vant/lib/button/style';
// import 'vant/lib/stepper/style';



// 注册时可以配置额外的选项
Vue.use(Lazyload, {
    lazyComponent: true,
    loading: require('../assets/loading.gif')
});
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Pagination);
Vue.use(SwipeCell);
Vue.use(Stepper);
Vue.use(SubmitBar);
Vue.use(Card);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Sku);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Divider);
Vue.use(Dialog);
Vue.use(button);
Vue.use(field);
Vue.use(Form);
Vue.use(Popup);
Vue.use(Col);
Vue.use(Row);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Toast);
Vue.use(Empty);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Cell);
Vue.use(List);
Vue.use(Tag);
Vue.use(Icon);
Vue.use(Search);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Grid);
Vue.use(GridItem);